import Vue from 'vue'
import Vuetify from 'vuetify/lib'
import zhHans from 'vuetify/es5/locale/zh-Hans' // 加载Vuetify中文包
// import '@mdi/font/css/materialdesignicons.css'
import 'vuetify/dist/vuetify.min.css'
import Snackbar from '@/components/Snackbar/index'
Vue.prototype.$message = Snackbar
Vue.use(Vuetify)
export default new Vuetify({
  icons: {
    iconfont: 'md' // default - only for display purposes
  },
  lang: {
    locales: { zhHans },
    current: 'zhHans'
  },
  theme: {
    dark: false,
    themes: {
      light: {
        primary: '#1B73E7',
        // secondary: '#03DAC6',
        secondary: '#018786',
        accent: '#FFA501'
        // error: '#FF5252',
        // info: '#2196F3',
        // success: '#4CAF50',
        // warning: '#FFC107',
      }
    }
  }
})
